package com.itheima.output;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class OutputDemo05 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("day12_file&字节流\\stu.txt");

        byte[] bys = new byte[1024];

        int len;

        while ((len = fis.read(bys)) != -1){
            System.out.print(new String(bys,0,len));
        }
        fis.close();
    }
}
